import request from "../utils/request"
import utils from "../utils/util.js"
export default {

	getPetTeacherList(query) {
		const queryParmas = utils.addParamsToURL(query);
		return request.get(`/pet/trainingMaster/list1?${queryParmas}`);
	},

	addPetTeacher(data) {
		return request.post('/pet/trainingMaster/addTrainingMaster', data);
	},

	getPetTeacherById(id) {
		return request.get(`/pet/trainingMaster/${id}`)
	},
	delPetTeacherById(id) {
		return request.request(`/pet/trainingMaster/${id}`, 'DELETE')
	},
}